//
//  NSObject+Predicate.h
//  sensorYJQD
//
//  Created by 陈友文 on 2020/5/14.
//  Copyright © 2020 陈友文. All rights reserved.
//



#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSObject (Predicate)

//邮箱
+ (BOOL) validateEmail:(NSString *)email;
  
//手机号码验证
+ (BOOL) validateMobile:(NSString *)mobile;
  
//车牌号验证
+ (BOOL) validateCarNo:(NSString *)carNo;
  
//车型
+ (BOOL) validateCarType:(NSString *)CarType;
  
//用户名
+ (BOOL) validateUserName:(NSString *)name;
  
//密码
+ (BOOL) validatePassword:(NSString *)passWord;
  
//昵称
+ (BOOL) validateNickname:(NSString *)nickname;
  
//身份证号
+ (BOOL) validateIdentityCard: (NSString *)identityCard;

+(BOOL)validateQRCode:(NSString *)deviceName;
@end

NS_ASSUME_NONNULL_END
